<template>
  <div>
    <markdown-editor  v-model="text" @change="log($event)"></markdown-editor>
  </div>
</template>

<script>
import MarkdownEditor from '@/components/markdown-editor/MarkdownEditor'
import { ref } from 'vue'
export default {
  name: 'EditView',
  components: {
    MarkdownEditor
  },
  setup () {
    return {
      text: ref(''),
      log: console.log
    }
  }
}
</script>

<style scoped>

</style>
